Undocumented functions of NTDLL

2OO1, 17 February


NtAdjustGroupsToken
NtAdjustGroupsToken

NTSYSAPI 
NTSTATUS
NTAPI

NtAdjustGroupsToken(
IN HANDLE TokenHandle, IN BOOLEAN ResetToDefault, IN PTOKEN_GROUPS TokenGroups, IN ULONG PreviousGroupsLength, OUT PTOKEN_GROUPS PreviousGroups OPTIONAL, OUT PULONG RequiredLength OPTIONAL );



Function NtAdjustGroupsToken modify state of one or more groups avaialbe for Token Object. See also description of similar Win32 API AdjustTokenGroups in Win32 SDK.



Requirements:
Library: ntdll.lib


See also:
NtAdjustPrivilegesToken
NtCreateToken
NtOpenProcessToken
NtOpenThreadToken
NtQueryInformationToken
NtSetInformationToken
TOKEN_GROUPS